/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package travelinfo;

import GUI.GUImain;
import Offer.Offer;
import Offer.OfferHandler;
import java.io.FileNotFoundException;
import java.text.ParseException;
import javax.xml.stream.XMLStreamException;

/**
 *
 * @author c10mjn
 */
public class TravelInfoMain {
    
    public static void main(String[] args){
        
        GUImain GUI = new GUImain();
        try {
            OfferHandler offerHandler = OfferHandler.getInstance();
            System.out.println("Number of offers:" + offerHandler.getNoOffers());
          
            
        } catch (FileNotFoundException | XMLStreamException | ParseException ex) {
            GUI.printCriticalException(ex);
        }
        
        
    }
    
}
